package com.tryee;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * 启动程序
 * 
 * @author tryee
 */
@SpringBootApplication(exclude = { DataSourceAutoConfiguration.class })
@MapperScan({"com.tryee.**.mapper","com.tryee.web.developer.mapper"})
@EnableScheduling
public class TryeeApplication
{
    public static void main(String[] args)
    {
//         System.setProperty("spring.devtools.restart.enabled", "false");
        SpringApplication.run(TryeeApplication.class, args);
        System.out.println(""+
        "\n" +
                " .----------------.  .----------------. \n" +
                "| .--------------. || .--------------. |\n" +
                "| |     ____     | || |  ___  ____   | |\n" +
                "| |   .'    `.   | || | |_  ||_  _|  | |\n" +
                "| |  /  .--.  \\  | || |   | |_/ /    | |\n" +
                "| |  | |    | |  | || |   |  __'.    | |\n" +
                "| |  \\  `--'  /  | || |  _| |  \\ \\_  | |\n" +
                "| |   `.____.'   | || | |____||____| | |\n" +
                "| |              | || |              | |\n" +
                "| '--------------' || '--------------' |\n" +
                " '----------------'  '----------------' \n"+
                "          ☺☺☺☺☺☺ 启动完成 ☺☺☺☺☺☺");
    }
}